﻿using SqlSugar;
using System;

namespace NP.BPMReportPlatform.Entities.NIP_Wechat
{
    /// <summary>
    /// 待办审批人表
    /// </summary>
    public class WechatJobList
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID { get; set; } = Guid.NewGuid().ToString();

        /// <summary>
        /// 流程GUID
        /// </summary>
        public string FlowInstID { get; set; }

        /// <summary>
        /// Job顺序（唯一）
        /// </summary>
        public string JOBID { get; set; }

        /// <summary>
        /// 审批步骤名称
        /// </summary>
        public string JobName { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public string USERID { get; set; }

        /// <summary>
        /// 到达日期
        /// </summary>
        public DateTime? ARRIVALDATE { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int STATUS { get; set; }

        /// <summary>
        /// 域账户
        /// </summary>
        public string ADUser { get; set; }

        /// <summary>
        /// 待办类型：All(0)（查询PC端和移动端待办） PC(1)（PC端待办）MB(2)（移动端待办）
        /// </summary>
        public int ToDoType { get; set; }

    }
}
